package com.csr.csrcheck.service.impl;

import com.csr.csrcheck.mapper.Company_newsMapper;
import com.csr.csrcheck.pojo.Company_news;
import com.csr.csrcheck.service.Company_newsAService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Company_newsServiceImpl implements Company_newsAService {
    @Resource
    private Company_newsMapper company_newsMapper;

    public List<Company_news> selectAllBycompany_id(int company_id) {
        return this.company_newsMapper.selectAllBycompany_id(company_id);
    }
}
